import 'package:flutter/material.dart';

class ListViewPage extends StatefulWidget {
  @override
  _ListViewPageState createState() => _ListViewPageState();
}

class _ListViewPageState extends State<ListViewPage> {
  @override
  Widget build(BuildContext context) {
    return ListView.builder(
      itemCount: 200,
      itemBuilder: (BuildContext context, int index) {
        return Container(
          color: Colors.red.withBlue(index * 100 % 255).withGreen(index * 150 % 255),
          height: 50,
          child: Text(index.toString(),style: TextStyle(color: Colors.white),),
        );
      },
    );
  }
}
